//
//  PracticingView.h
//  HotWord
//
//  Created by Rainbow on 12-11-23.
//
//

#import <UIKit/UIKit.h>
#import "Word.h"

@protocol PracticingViewDelegate;

@interface PracticingView : UIView<UIScrollViewDelegate>

@property (retain, nonatomic) IBOutlet UIImageView *backgroundView;
@property (retain, nonatomic) IBOutlet UILabel *contentLabel;
@property (retain, nonatomic) IBOutlet UIButton *wrongBtn;
@property (retain, nonatomic) IBOutlet UIButton *rightBtn;
@property (retain, nonatomic) IBOutlet UIButton *answerBtn;
@property (retain, nonatomic) IBOutlet UIImageView *lockImageView;
@property (retain, nonatomic) IBOutlet UILabel *timeLabel;
@property (retain, nonatomic) IBOutlet UILabel *tryAgainLabel;
@property (retain, nonatomic) IBOutlet UILabel *nextLabel;
@property (retain, nonatomic) IBOutlet UIScrollView *answerScrollView;
@property (retain, nonatomic) IBOutlet UIImageView *leftArrowView;
@property (retain, nonatomic) IBOutlet UIImageView *rightArrowView;
@property (retain, nonatomic) Word *word;
@property (assign, nonatomic) id<PracticingViewDelegate> delegate;
@property (retain, nonatomic) IBOutlet UIImageView *endSessionView;

- (IBAction)tapOnWrongBtn:(id)sender;
- (IBAction)tapOnRightBtn:(id)sender;
- (IBAction)tapOnQuestionBtn:(id)sender;

- (void)setWordData:(Word *)word;

@end

@protocol PracticingViewDelegate <NSObject>

- (void)PracticeViewChooseRight:(PracticingView *)practicingView;

@end